/**
 * Created by Administrator on 2017/3/1 0001.
 */
var preLoadPage=
{
    create:function()
    {
        var page={};

        var loader=new PIXI.loaders.Loader();
        loader.add([
            'assets/images/1.png',
            'assets/images/2.png',
        ])
            .on("progress", loadProgressHandler)
            .load(complete);
        function loadProgressHandler(loader, resource)
        {
            console.log("loading: " + resource.url);
            console.log("progress: " + loader.progress + "%");
        }
        function completeHandler()
        {
            console.log("complete: ");
        }
        page.init()
        {

        }

        return page;
    }
}
